package com.example;


import com.corundumstudio.socketio.SocketIOServer;
import com.corundumstudio.socketio.annotation.SpringAnnotationScanner;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

import com.corundumstudio.socketio.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;


@EnableCaching
@EnableScheduling
@SpringBootApplication
@MapperScan({"mapper","wx.mapper","oss.mapper","bottle.mapper","details.mapper","userbottle.mapper","wxusersocket.mapper","socketmessage.mapper","feed.mapper"})
@ComponentScan({"controller","service","utils","config","wx.*","oss.*","bottle.*","details.*","userbottle.*","wxusersocket.*","socketmessage.*","socket.*","feed.*"})
public class MiniApplication{
    private static Logger logger = LoggerFactory.getLogger(MiniApplication.class);
    public static void main(String[] args) throws Exception {
        SpringApplication.run(MiniApplication.class, args);
    }


}
